package cn.stylefeng.guns.modular.business.frequency.cmarea.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.modular.business.frequency.cmarea.entity.CmArea;
import cn.stylefeng.guns.modular.business.frequency.cmarea.model.param.CmAreaParam;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * cm_area 服务类
 *
 * @author yujie
 * @date 2023/05/09 17:17
 */
public interface CmAreaService extends IService<CmArea> {

    /**
     * 分页查询cm_area
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    PageResult<CmArea> page(CmAreaParam cmAreaParam);

    /**
     * 查询所有cm_area
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    List<CmArea> list(CmAreaParam cmAreaParam);

    /**
     * 添加cm_area
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    void add(CmAreaParam cmAreaParam);

    /**
     * 删除cm_area
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    void delete(CmAreaParam cmAreaParam);

    /**
     * 编辑cm_area
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    void edit(CmAreaParam cmAreaParam);

    /**
     * 查看详情cm_area
     *
     * @author yujie
     * @date 2023/05/09 17:17
     */
    CmArea detail(CmAreaParam cmAreaParam);

}